package com.slipper.qmt.vo;

// 资产
public class AssetVO {
    private Integer accountType; // int 账号类型，参见数据字典
    private String accountId; // str 资金账号
    private Double cash; // float 可用金额
    private Double frozenCash; // float 冻结金额
    private Double marketValue; // float 持仓市值
    private Double totalAsset; // float 总资产

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Double getCash() {
        return cash;
    }

    public void setCash(Double cash) {
        this.cash = cash;
    }

    public Double getFrozenCash() {
        return frozenCash;
    }

    public void setFrozenCash(Double frozenCash) {
        this.frozenCash = frozenCash;
    }

    public Double getMarketValue() {
        return marketValue;
    }

    public void setMarketValue(Double marketValue) {
        this.marketValue = marketValue;
    }

    public Double getTotalAsset() {
        return totalAsset;
    }

    public void setTotalAsset(Double totalAsset) {
        this.totalAsset = totalAsset;
    }

    @Override
    public String toString() {
        return "AssetVO{" +
                "accountType=" + accountType +
                ", accountId='" + accountId + '\'' +
                ", cash=" + cash +
                ", frozenCash=" + frozenCash +
                ", marketValue=" + marketValue +
                ", totalAsset=" + totalAsset +
                '}';
    }
}
